<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../../../print.css" type="text/css" media="print">
<meta content="LayoutElement,com.paulcoyle.lhasa.LayoutElement,align_horizontal,align_vertical,defined_height,defined_height_fixed,defined_width,defined_width_fixed,inner_height,inner_offset,inner_width,margin,padded_height,padded_offset,padded_width,padding,total_height,total_width,dispatch_layout_invalidated,update,update_if_pending,update_next" name="keywords">
<title>com.paulcoyle.lhasa.LayoutElement</title>
</head>
<body>
<script type="text/javascript" language="javascript" src="../../../asdoc.js"></script><script type="text/javascript" language="javascript" src="../../../cookies.js"></script><script type="text/javascript" language="javascript">
<!--
				asdocTitle = 'LayoutElement - LHASA : Layout Handler for ActionScript Applications';
				var baseRef = '../../../';
				window.onload = configPage;
			--></script>
<table style="display:none" id="titleTable" cellspacing="0" cellpadding="0" class="titleTable">
<tr>
<td align="left" class="titleTableTitle">LHASA : Layout Handler for ActionScript Applications</td><td align="right" class="titleTableTopNav"><a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../package-summary.html">All&nbsp;Packages</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../all-classes.html')" href="../../../class-summary.html">All&nbsp;Classes</a>&nbsp;|&nbsp;<a onclick="loadClassListFrame('../../../index-list.html')" href="../../../all-index-A.html">Index</a>&nbsp;|&nbsp;<a href="../../../index.html?com/paulcoyle/lhasa/LayoutElement.html&amp;com/paulcoyle/lhasa/class-list.html" id="framesLink1">Frames</a><a onclick="parent.location=document.location" href="" style="display:none" id="noFramesLink1">No&nbsp;Frames</a></td><td rowspan="3" align="right" class="titleTableLogo"><img alt="Adobe Logo" title="Adobe Logo" class="logoImage" src="../../../images/logo.jpg"></td>
</tr>
<tr class="titleTableRow2">
<td align="left" id="subTitle" class="titleTableSubTitle">Class&nbsp;LayoutElement</td><td align="right" id="subNav" class="titleTableSubNav"><a href="#propertySummary">Properties</a>&nbsp;| <a href="#methodSummary">Methods</a></td>
</tr>
<tr class="titleTableRow3">
<td colspan="2">&nbsp;</td>
</tr>
</table>
<script type="text/javascript" language="javascript">
<!--
if (!isEclipse() || window.name != ECLIPSE_FRAME_NAME) {titleBar_setSubTitle("Class LayoutElement"); titleBar_setSubNav(false,true,false,false,false,false,true,false,false,false,false,false,false,false);}
--></script>
<div class="MainContent">
<table cellspacing="0" cellpadding="0" class="classHeaderTable">
<tr>
<td class="classHeaderTableLabel">Package</td><td><a onclick="javascript:loadClassListFrame('class-list.html')" href="package-detail.html">com.paulcoyle.lhasa</a></td>
</tr>
<tr>
<td class="classHeaderTableLabel">Class</td><td class="classSignature">public class LayoutElement</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Inheritance</td><td class="inheritanceList">LayoutElement <img class="inheritArrow" alt="Inheritance" title="Inheritance" src="../../../images/inherit-arrow.gif"> flash.display.Sprite</td>
</tr>
<tr>
<td class="classHeaderTableLabel">Subclasses</td><td><a href="../lhasa/LayoutContainer.html">LayoutContainer</a></td>
</tr>
</table>
<p></p>
 Base class for all layout elements.
  <p></p>
<br>
<hr>
</div>
<a name="propertySummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Properties</div>
<table id="summaryTableProperty" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Property</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#align_horizontal">align_horizontal</a> : uint<div class="summaryTableDescription">
  The horizontal alignment for the element.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#align_vertical">align_vertical</a> : uint<div class="summaryTableDescription">
  The vertical alignment for the element.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#defined_height">defined_height</a> : Number<div class="summaryTableDescription">
  The declared width that this element should be.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#defined_height_fixed">defined_height_fixed</a> : Boolean<div class="summaryTableDescription">
  Indicates whether or not the value for <code>defined_height</code> should
  be treated as a fixed or variable value.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#defined_width">defined_width</a> : Number<div class="summaryTableDescription">
  The declared width that this element should be.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#defined_width_fixed">defined_width_fixed</a> : Boolean<div class="summaryTableDescription">
  Indicates whether or not the value for <code>defined_width</code> should
  be treated as a fixed or variable value.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#inner_height">inner_height</a> : Number<div class="summaryTableDescription">
  Defines the height of the element without margins.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#inner_offset">inner_offset</a> : Point<div class="summaryTableDescription">[read-only]
  Defines the local coordinates that represent the top left corner of the
  element where the inner area (without margin) begins.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#inner_width">inner_width</a> : Number<div class="summaryTableDescription">
  Defines the width of the element without margins.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#margin">margin</a> : <a href="types/Box.html">Box</a>
<div class="summaryTableDescription">[read-only]
  The margin values for this element.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#padded_height">padded_height</a> : Number<div class="summaryTableDescription">
  Defines the height of the element without margins and with padding.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#padded_offset">padded_offset</a> : Point<div class="summaryTableDescription">[read-only]
  Defines the local coordinates that represent the top left corner of the
  element where the padded area (without margin and with padding) begins.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#padded_width">padded_width</a> : Number<div class="summaryTableDescription">
  Defines the width of the element without margins and with padding.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#padding">padding</a> : <a href="types/Box.html">Box</a>
<div class="summaryTableDescription">[read-only]
  The padding values for this element.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#total_height">total_height</a> : Number<div class="summaryTableDescription">
  The total height assigned <em>to</em> the element.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol"><a class="signatureLink" href="#total_width">total_width</a> : Number<div class="summaryTableDescription">
  The total width assigned <em>to</em> the element.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
</table>
</div>
<a name="methodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Public Methods</div>
<table id="summaryTableMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#LayoutElement()">LayoutElement</a>()</div>
<div class="summaryTableDescription">
  Creates a new LayoutElement.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
</table>
</div>
<a name="methodSummary"></a><a name="protectedMethodSummary"></a>
<div class="summarySection">
<div class="summaryTableTitle">Protected Methods</div>
<table id="summaryTableProtectedMethod" class="summaryTable " cellpadding="3" cellspacing="0">
<tr>
<th>&nbsp;</th><th colspan="2">Method</th><th class="summaryTableOwnerCol">Defined&nbsp;by</th>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#dispatch_layout_invalidated()">dispatch_layout_invalidated</a>():void</div>
<div class="summaryTableDescription">
  Dispatches a LayoutElementEvent.INVALIDATED event.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#update()">update</a>():void</div>
<div class="summaryTableDescription">
  Called after the stage has been invalidated due to a call to
  <code>update_next()</code> which indicates that a value that could
  warrant a graphical update has changed.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#update_if_pending()">update_if_pending</a>():void</div>
<div class="summaryTableDescription">
  Updates if there is a pending render flag set by <code>update()</code>.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
<tr class="">
<td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableInheritanceCol">&nbsp;</td><td class="summaryTableSignatureCol">
<div class="summarySignature">
<a class="signatureLink" href="#update_next()">update_next</a>():void</div>
<div class="summaryTableDescription">
  Sets an internal flag causing the element to invalidate the stage if it
  exists which will tridder the update method when the stage dispatches its
  RENDER event.</div>
</td><td class="summaryTableOwnerCol">LayoutElement</td>
</tr>
</table>
</div>
<script type="text/javascript" language="javascript">
<!--
showHideInherited();
--></script>
<div class="MainContent">
<a name="propertyDetail"></a>
<div class="detailSectionHeader">Property detail</div>
<a name="align_horizontal"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">align_horizontal</td><td class="detailHeaderType">property</td>
</tr>
</table>
<div class="detailBody">
<code>align_horizontal:uint</code>&nbsp;&nbsp;[read-write]<p>
  The horizontal alignment for the element.
    </p><p>The default value is <code>0 (MIDDLE)</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get align_horizontal():uint</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set align_horizontal(value:uint):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="types/Align.html" target="">com.paulcoyle.lhasa.types.Align</a>
</div>
</div>
<a name="align_vertical"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">align_vertical</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>align_vertical:uint</code>&nbsp;&nbsp;[read-write]<p>
  The vertical alignment for the element.
    </p><p>The default value is <code>0 (MIDDLE)</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get align_vertical():uint</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set align_vertical(value:uint):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="types/Align.html" target="">com.paulcoyle.lhasa.types.Align</a>
</div>
</div>
<a name="defined_height"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">defined_height</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>defined_height:Number</code>&nbsp;&nbsp;[read-write]<p>
  The declared width that this element should be.  Works in concert with
  the <code>defined_width_fixed</code> property.  For details on how to set
  values textually see the definition for <code><a href="#defined_width">defined_width</a></code>.
    </p><p>The default value is <code>1</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get defined_height():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set defined_height(value:Number):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../lhasa/LayoutElement.html#defined_height_fixed" target="">defined_height_fixed</a>
</div>
</div>
<a name="defined_height_fixed"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">defined_height_fixed</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>defined_height_fixed:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Indicates whether or not the value for <code>defined_height</code> should
  be treated as a fixed or variable value.
    </p><p>The default value is <code>false</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get defined_height_fixed():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set defined_height_fixed(value:Boolean):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../lhasa/LayoutElement.html#defined_height" target="">defined_height</a>
</div>
</div>
<a name="defined_width"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">defined_width</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>defined_width:Number</code>&nbsp;&nbsp;[read-write]<p>
  The declared width that this element should be.  Works in concert with
  the <code>defined_width_fixed</code> property.
    </p><p>This property can be set in two separate ways: numerically and
  textually.  Setting the value numerically will simply set the value and
  dispatch an event.  By passing a string to this property both the values
  for <code>defined_width</code> and <code>defined_width_fixed</code> can
  be set simultaneously. To set these values textually you may use the
  formats:
    <ul>
      <li>##.##px</li>
      <li>##.##%</li>
    </ul></p>
    <p><span class="label">Example</span>
     <pre>
  var element:LayoutElement = new LayoutElement();
     
  element.defined_width = '34.5px';
  trace(element.defined_width, element.defined_width_fixed);// (34.5 true)
  
  element.defined_width = '55.123%';
  trace(element.defined_width, element.defined_width_fixed);// (0.55123 false)
  </pre>
    It is important to note that non-fixed values are converted to
    scalars.
  </p>
    <p>The default value is <code>1</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get defined_width():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set defined_width(value:Number):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../lhasa/LayoutElement.html#defined_width_fixed" target="">defined_width_fixed</a>
</div>
</div>
<a name="defined_width_fixed"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">defined_width_fixed</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>defined_width_fixed:Boolean</code>&nbsp;&nbsp;[read-write]<p>
  Indicates whether or not the value for <code>defined_width</code> should
  be treated as a fixed or variable value.
    </p><p>The default value is <code>false</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get defined_width_fixed():Boolean</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set defined_width_fixed(value:Boolean):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../lhasa/LayoutElement.html#defined_width" target="">defined_width</a>
</div>
</div>
<a name="inner_height"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">inner_height</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>inner_height:Number</code>&nbsp;&nbsp;[read-write]<p>
  Defines the height of the element without margins.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get inner_height():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set inner_height(value:Number):void</code>
<br>
</div>
<a name="inner_offset"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">inner_offset</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>inner_offset:Point</code>&nbsp;&nbsp;[read-only]<p>
  Defines the local coordinates that represent the top left corner of the
  element where the inner area (without margin) begins.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get inner_offset():Point</code>
<br>
</div>
<a name="inner_width"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">inner_width</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>inner_width:Number</code>&nbsp;&nbsp;[read-write]<p>
  Defines the width of the element without margins.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get inner_width():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set inner_width(value:Number):void</code>
<br>
</div>
<a name="margin"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">margin</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>margin:<a href="types/Box.html">Box</a></code>&nbsp;&nbsp;[read-only]<p>
  The margin values for this element.
    </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get margin():<a href="types/Box.html">Box</a></code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="types/Box.html" target="">com.paulcoyle.lhasa.types.Box</a>
</div>
</div>
<a name="padded_height"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">padded_height</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>padded_height:Number</code>&nbsp;&nbsp;[read-write]<p>
  Defines the height of the element without margins and with padding.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get padded_height():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set padded_height(value:Number):void</code>
<br>
</div>
<a name="padded_offset"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">padded_offset</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>padded_offset:Point</code>&nbsp;&nbsp;[read-only]<p>
  Defines the local coordinates that represent the top left corner of the
  element where the padded area (without margin and with padding) begins.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get padded_offset():Point</code>
<br>
</div>
<a name="padded_width"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">padded_width</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>padded_width:Number</code>&nbsp;&nbsp;[read-write]<p>
  Defines the width of the element without margins and with padding.
  </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get padded_width():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set padded_width(value:Number):void</code>
<br>
</div>
<a name="padding"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">padding</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>padding:<a href="types/Box.html">Box</a></code>&nbsp;&nbsp;[read-only]<p>
  The padding values for this element.
    </p><span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get padding():<a href="types/Box.html">Box</a></code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="types/Box.html" target="">com.paulcoyle.lhasa.types.Box</a>
</div>
</div>
<a name="total_height"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">total_height</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>total_height:Number</code>&nbsp;&nbsp;[read-write]<p>
  The total height assigned <em>to</em> the element.  This is
  usually set by the element's container.  This values affects the values
  for: <code>inner_offset</code>, <code>inner_height</code>,
  <code>padded_height</code> and <code>padded_height</code>.
    </p><p>The default value is <code>0</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get total_height():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set total_height(value:Number):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../lhasa/LayoutElement.html#inner_offset" target="">inner_offset</a>
<br>
<a href="../lhasa/LayoutElement.html#inner_height" target="">inner_height</a>
<br>
<a href="../lhasa/LayoutElement.html#padded_offset" target="">padded_offset</a>
<br>
<a href="../lhasa/LayoutElement.html#padded_height" target="">padded_height</a>
</div>
</div>
<a name="total_width"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">total_width</td><td class="detailHeaderType">property</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>total_width:Number</code>&nbsp;&nbsp;[read-write]<p>
  The total width assigned <em>to</em> the element.  This is
  usually set by the element's container.  This values affects the values
  for: <code>inner_offset</code>, <code>inner_width</code>,
  <code>padded_offset</code> and <code>padded_width</code>.
    </p><p>The default value is <code>0</code>.</p>
<span class="label">Implementation</span>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function get total_width():Number</code>
<br>
<code>&nbsp;&nbsp;&nbsp;&nbsp;public function set total_width(value:Number):void</code>
<br>
<p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../lhasa/LayoutElement.html#inner_offset" target="">inner_offset</a>
<br>
<a href="../lhasa/LayoutElement.html#inner_width" target="">inner_width</a>
<br>
<a href="../lhasa/LayoutElement.html#padded_offset" target="">padded_offset</a>
<br>
<a href="../lhasa/LayoutElement.html#padded_width" target="">padded_width</a>
</div>
</div>
<a name="constructorDetail"></a>
<div class="detailSectionHeader">Constructor detail</div>
<a name="LayoutElement()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">LayoutElement</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">constructor</td>
</tr>
</table>
<div class="detailBody">
<code>public function LayoutElement()</code><p>
  Creates a new LayoutElement.
  </p></div>
<a name="methodDetail"></a>
<div class="detailSectionHeader">Method detail</div>
<a name="dispatch_layout_invalidated()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">dispatch_layout_invalidated</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td>
</tr>
</table>
<div class="detailBody">
<code>protected function dispatch_layout_invalidated():void</code><p>
  Dispatches a LayoutElementEvent.INVALIDATED event.
  </p></div>
<a name="update()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">update</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function update():void</code><p>
  Called after the stage has been invalidated due to a call to
  <code>update_next()</code> which indicates that a value that could
  warrant a graphical update has changed.
    </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../lhasa/LayoutElement.html#update_next()" target="">update_next()</a>
</div>
</div>
<a name="update_if_pending()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">update_if_pending</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function update_if_pending():void</code><p>
  Updates if there is a pending render flag set by <code>update()</code>.
    </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../lhasa/LayoutElement.html#update()" target="">update()</a>
<br>
<a href="../lhasa/LayoutElement.html#update_next()" target="">update_next()</a>
</div>
</div>
<a name="update_next()"></a>
<table cellspacing="0" cellpadding="0" class="detailHeader">
<tr>
<td class="detailHeaderName">update_next</td><td class="detailHeaderParens">()</td><td class="detailHeaderType">method</td><td class="detailHeaderRule">&nbsp;</td>
</tr>
</table>
<div class="detailBody">
<code>protected function update_next():void</code><p>
  Sets an internal flag causing the element to invalidate the stage if it
  exists which will tridder the update method when the stage dispatches its
  RENDER event.  If the stage is not available, a listener is added for the
  ADDED_TO_STAGE event.  When that event fires an update is immediately
  executed.
    </p><p>
<span class="label">See also</span>
</p>
<div class="seeAlso">
<a href="../lhasa/LayoutElement.html#update()" target="">update()</a>
</div>
</div>
<br>
<br>
<hr>
<br>
<p></p>
<center class="copyright"> 
</center>
</div>
</body>
</html>
<!-- -->
